package com.pvdnc.worldmagisk.shell.server;

import cn.trinea.android.common.util.ShellUtils;

public class CommandRequest {
    public String mCommand;

    public CommandRequest(String cmd){
        mCommand=cmd;
    }

    public String execute(){
        ShellUtils.CommandResult result= ShellUtils.execCommand(mCommand,false);
        return GsonUtils.GSON.toJson(result);
    }
}
